const mongoose = require('../../mongoose')

const teamSchema = mongoose.Schema({
  // id: {
  //   type: String
  // },
  name: String,
  enname: String,
  title: String,
  jieshao: String,
  img: String,
  type: {
    type: Number,
    default: 1
  }, // 1 顾问 2专家
  datetime: {
    type: Date,
    default: Date.now
  }
})

module.exports = mongoose.model('team', teamSchema)
